package com.situ.mall.manager.entity;

import lombok.*;

import java.math.BigDecimal;
import java.util.List;


//lombok插件，以注解的方式添加get set tostring和构造方法
@Getter
@Setter
@Data
@ToString
@NoArgsConstructor
public class Goods {
    private Integer id;
    private String name;
    private BigDecimal price;
    private BigDecimal markPrice;
    private String color;
    private String dscp;
    private String version;//版本
    private Integer count;//数量 0
    private String content;
    private Integer recom;//推荐 0
    private Integer categoryId;//分类id
    private Integer status;//0

    //关联类别1:1
    private Category category;

    //商品图片1:n
    private List<GoodsPic> pics;

}
